						<ul>
<?php	if( isset( $_SESSION['stud_no'] ) ) : ?>
<?php		if( isset( $_SESSION['admin'] ) && $_SESSION['admin'] === '1') : ?>
							<li><a href="/siteadmin/home">Home</a></li>
<?php 	else: ?>
							<li><a href="/my">Home</a></li>
<?php 	endif; ?>
<?php else: ?>
							<li><a href="/">Home</a></li>
<?php endif; ?>
							<li><a href="/siteadmin">Courses</a></li>
<?php	if( isset( $_SESSION['stud_no'] ) ) : ?>
							
							<li><a href="/messages">Messages<?php if( isset( $_SESSION['inboxUnread'] ) ) echo "({$_SESSION['inboxUnread']})"; ?></a></li>
<?php endif; ?>
							<li><a href="/aboutus">About Us</a></li>
							<li><a href="/features">Features</a></li>
							<li><a href="/faq">FAQ</a></li>
<?php	if( isset( $_SESSION['stud_no'] ) ) : ?>
							<li><?php echo $_SESSION['firstname'] ?>(<a class="subdued" href="/logout">Logout</a>)</li>
<?php else: ?>
							<li><a href="/login">Login</a></li>
<?php endif; ?>
						</ul>	
